package com.nightsoul.dubbo.provider.service.impl;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.dubbo.config.annotation.Service;
import com.nightsoul.dubbo.provider.service.MenuService;

@Service(group="classic")
public class ClassicMenuService implements MenuService {

	@Override
	public List<String> getMenuItems() {
		List<String> items = new ArrayList<>();
		items.add("ClassicMenuItem");
		return items;
	}

	@Override
	public List<String> mergeResult() {
        List<String> menus = new ArrayList<String>();
        menus.add("group-1.1");
        menus.add("group-1.2");
        return menus;
    }

}
